package com.zm.dubbo.demo.provider;

import com.alibaba.dubbo.config.annotation.Service;
import com.zm.demo.dubbo.sc.api.UserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author zoum
 * @create 2019/4/28 17:07
 */
@Service
public class UserServiceImpl implements UserService {

    private final static Logger LOGGER = LoggerFactory.getLogger(UserServiceImpl.class);

    @Override
    public String hello(String userName) {
        System.out.println(userName);
        return "hello, " + userName;
    }
}
